Fix reports date filter

Port fixes to /reports date filter from core
Should fix #90

@rrbaker please confirm this resolves the issue