Fix a few things in precompute

@derek-schultz and I cleaned up a few issues with the existing Jia when we deployed to prod.