fixed objectfornestedkeys when an array does not have the number of elements it is supposed to have
Merge branch 'master' of github.com:ahfarmer/AFAdditions