get_settings_by_role not returning correctly, this fixes (thanks to shep)