Improve the Triple Crown query.