Fix parsing of resync status, thanks to Caspar Smit