Patches notification gateway provider query.