Fix a few issues related to warps.

Timing wise, weird indices in the database, the usual. Fix 'em.