17441 Fix status validation messages

https://community.openproject.org/work_packages/17441