Several things to check.1. When you upload the document initially, check to see if the metadata has the property @dam:sha1 with a value.2. If item 1 is fine, then upload the document again. This time enable query debugging to see if the query below gets executed.//element(*, dam:Asset)[(jcr:content/...