Fixed minor bug in checking STEM/Sim limits