fixed small error in code checking if two insts in same run