Go back to old way to fetch rows
Import data.table, CJ
Interval query fix

Interval queries were not being expanded correctly if the simulation had
less entries than the time table.