Fix typo in new query and tweak formatting.