Add checks so that wolfram|alpha only queries when it can.