fix failing advanced searches due to more records added