Fixes issue #4903 where search results returned deleted files, old versions, etc.

Only modifies OC\Files\Cache\Cache; I don't know if this same fix is required anywhere else. I don't think so because all file information is pulled from the OC_FILECACHE table, but could someone confirm? @butonic?