Fixing error toggling for server-side errors.