Fix approval logic.