Fix for simple relationships saving and advanced table relationship joins for traversal