Fix bug in callDateWithin calculation (#434)