Fix a tiny bug in Resolve task conversion