Fixed order-activity foreign key & fb share check.