Fixed the sanitation not working on arrays.