#82 between is inclusive like on SQL
#82 added boundary checks