All tests pass in Sqlite now, additionally made more secure the way
DateDiff is translated