Fixed wrong filter condition