fixed bug in isTime between... (closes #97)