There was a race condition when this chunk was in db.js. Not sure why, not sure it's worth figuring out right now.