Fixed bug with calculating array bounds [#11]
Authored by: i-campbell 2020-06-19
Parent: [r184]
Child: [r186]