Fix for indexing temporary workspaces