Implemented the report filtering