Fixes bug where new warning#title raised an error.