removed random newline
hlint complaints
add a more sensible instance for ToQuery [a]
export Query