Fix test broken by changes to event model.
Fix test broken by changes to event model.

Looks like faking virtual fields with afterFind encounters problems when
the fields you're calculating on doesn't exist due the find call
limiting the fields. Added additional conditions so that the is_end
field for surveys don't show up if the fields it depends on isn't there.

eecian/Team08-iPeer,eecian/Team08-iPeer,eecian/Team08-iPeer,eecian/Team08-iPeer