Year constraints, query quoting.