Fix bug in /search API
Fix bug in /search API

Use the envelope's, not the envelope resource's, timestamps
when searching

CredentialEngine/CredentialRegistry,CredentialEngine/CredentialRegistry,CredentialEngine/CredentialRegistry