delete all queries for wiki IDs that no longer exist