fixes timediff without a specific occurrence and passes in a null range ...

...for datetimediff