I'd use 4 helper columns and just filter on them