Better date formatting
Remove debug
Remove indexes in favor of date queries

The indexes were just too costly to be practical.