Rest status compare 6.0.x

Fix for InProgress rest api issue.