[Fix] API v2 cannot set planning element status 3229

Fixes [Bug #3229](https://www.openproject.org/work_packages/3229)