TimeMap: fix the timePassedUntil() method

whoever wrote the original code must have his brain left in the bed
that day ;)...