Remove empty search conditions from URL