Fix egg cache issue

I made this fix quite a while ago but forgot about it. I wish I could rename the branch from the website, but I don't know how.