Fix error in review opportunities api.