Bugfix to correct date format in query used in GetLogs()