Improve indentation for generated query