IDs from one-to-one associations weren't being processed during joins