Remove duplicate set query_command