Out of bounds access guard for tuple generator, MPS-16798