fixes #5518 blank spaces must not affect unique fields
Merge pull request #5816 from dotCMS/issue-5518-blank-spaces-must-not-affect-unique-fields

fixes #5518 blank spaces must not affect unique fields