As someone noted on the comments of the post, the "flights from SFO to Bos under $300" is a strange query. Why not just search for the cheapest?
It got me thinking though a cool query would be "flights from SFO to (some set of cities) in (some rather large time range) with an unusually low price".