simplify temporary command list filtering