When searching 'in progress' tasks also consider the PENDING_IN_GROUP state