Fixed the checkFieldNames: no ArrayOutOfBounds exception thrown when
constructors have fields with the same name and different types.