Change min/max so the ranges are inclusive.

The querybuilder method names and documentation have been changed to match.