Finding document by ID fixed