getActivityQuery changed.