Should be index >= itemProperties.size() .