query dropdown now works without any issues for single criteria sort