InProgress rest query fix