Clean up soft selection logic
Clean up soft selection logic

jupyter/jupyter-js-filebrowser,jupyter/jupyter-js-filebrowser,jupyter/jupyter-js-filebrowser,jupyter/jupyter-js-filebrowser,jupyter/jupyter-js-filebrowser