Fix bug causing strings with unbounded jumps not working properly with "x of them" condition