Fixes #7 Made sure document uri is compared to document uri not docid