Fixed a bug where fields that should be ignored are included in search