Fix work package filter validations
Replaced control flow operators with logical operators
Merge pull request #599 from opf/fix/work_package_filter_validations

Fix work package filter validations