Fix error in finding element index in StMuFmsUtil