fixing bug with query parameter condition mapping