LPS-48695 No need for local variable to store query locale