Updated SQLCommander.queryActivities(Integer vieweeId, int relation).