zero out known anomalous tip
optimize DB check

Total runtime: 52570.561 ms → 118.837 ms
Merge pull request #2610 from gittip/optimize-db-check

Optimize DB check