Fixing an issue preventing relationships from being populated