belongs_to left join bugfix.