Don't deserialize snakes/targets beyond the array bounds.