Fixed heap-use-after-free in learner
Check for value id out of bounds in strings client