BZ-1070878 - Fix for task status InProgress use in REST API /task/query operation
(cherry picked from commit 3bc1d0ec892e283be43dd1362e194d7aec92b721)