Fixed issue where multi-dimensional arrays would not work if new md-array item added