Added explicit range checking in all relevant get() variants