Fixed a bug where a related model would not be reliably fetched