BUGFIX due_on.between with date range works but datetime range does not work. Convert datetime to date