Updated ensure-activity task

Signed-off-by: Tom Wright <tom@inflatablecookie.com>