Pass the activity in explicitly, per Zach on the mailing list. Works now.