Fix to use role index not display name

We were having an issue where the role display names have been changed (from 'Contributor' to 'Supervisor'). To make SendPress still work, I changed the role checking to use the role index, not the display name. This should also prevent errors when using SendPress in a language other than English.