Fixing QA and database quirks when handling null values in unique constraint in the context of multi tenancy.