Detect if ID exists in criteria then find document by id ...