prevent getting all records in adv. search with blank search strings (server-sided)