fixed small bug in indexLotsN.ipf