(#1) - Allow self referencing arrays

See https://github.com/pouchdb/pouchdb/issues/2696