Fixed issue with filtering by status