Apply filters before processing commands