Fixed bug that was not loading "sql disabled" state for relationships.
(issue #364)