Cleaned up type errors for subranges