Added support for ignoring raw indexing and fixed type casting in validation