Fixing admin query command

Bugs closed: AURORA-936

Reviewed at https://reviews.apache.org/r/28450/