Modified query to be single line.
Modified comment to explain more about how to fix the query not working.