Fixed issue with incorrect indices and error handling.
Fixed issue with incorrect indices and error handling.

draperlaboratory/user-ale,draperlaboratory/user-ale,draperlaboratory/user-ale,draperlaboratory/user-ale,draperlaboratory/user-ale