Fix inSecondRange