Added an additional check to ensure that unique field restrictions don't honor null values.

Status Job ID Name Coverage
  Unit
passed #6662
phpunit

00:01:07

 
  Acceptance
passed #6663
juice
codeception

00:04:48