Fix parameter resolution for stop task

Wasn't resolving correctly, don't know why it worked when I tested, perhaps a cached version of the plugin in test?