Fixed a bug when reporting the wrong previous status in auto_ttl_resolve scenario. This resolves #39