Fix for a traceback I got while updating my gmail account settings