Fixes issue #57: No results if "from" date and "to" date are the same
Change compile to match in regex
Merge pull request #57 from cni/issue-57

Search: No results if "from" date and "to" date are the same