Fixed selection issue in workspaces view