Fix wrong method name

isWithinPast should be wasWithinLast
Merge pull request #1968 from berrygoudswaard/patch-1

Fix wrong method name