having a throw or a log warn would make it much easier to troubleshoot than a generic out of bounds error.