Refinement to the star assume-role check