fixed issue with writeblock selection for arrays.