You'd think so, but something happens in AR and the where(type) condition gets dropped.  You can see it in the similar chunk of code above where we set ``@ministerial_roles_by_organisation``.