Bug fix in validator to deal with adding schemas that are invalid.
Bug fix in validator to deal with adding schemas that are invalid.

jupyter/jupyterlab,jupyter/jupyterlab,jupyter/jupyterlab,jupyter/jupyterlab,jupyter/jupyterlab