Fixed two joins from activity_details table to parent tables.