Your second itinerary is not valid. Note the limitation mentioned in my previous message - only one transcon in NA. You have two (JFK-SFO and SFO-BOS). As you have only used five segments in NA, you need to break one of these transcons up, e.g. go via a change in ORD or DFW.