[boost] [shifted_ptr][3.0] Important bugs fixes