Handle booleans in query params