Fix work package filter validations
Replaced control flow operators with logical operators