Give clean error message when nothing to undo.