Ensure query name is lowercase from the get go.