Query benefits based on benefit type ID, rather than instance ID.

This fixes a bug from c6f629c whereby sponsor benefits were being
queried by instance ID, rather than the ID of the benefit type.