Fixed calculation of procedure access sets.