Fixed schema validation bug where array child types were not being properly checked for all types