FIX: Do not perform grants if badges are disabled

https://meta.discourse.org/t/discourse-keeps-granting-badges-even-though-badges-have-been-disabled/19510