fixed bug where importing schemas with no relationships would cause import to fail