bugfix: dependencies were duplicated when schemas were reloaded.