remove not found uuids from documents to fetch

Just to avoid problems when creating documents from nodes.

Solved issue: #545
My main purpose is to just was to just clear the `$ids` array, independent from the `$uuids`.