FORGE-918 Fix for ignoring extra dimensions of arrays

This ensures that underlying variable fragments having additional dimensions are considered when treating a field as an array type or not.