Fix issue #6: Incorrect types passed for unwrapping continuations