Fix logic for package shipping total discount