Fixes relationship saving bug caused by new $simple_tableless_objects var check