Make sure empoty search term is treated like no search term.