added EnterNextStageAllowed test to could block going to the next stage