Fixes issues with nil values in searchable fields.