Fix dumb but disastrous cache copying bug