Fixing issue with property value returning blank for jcr:primaryType