Fix issue with bad sessions causing the site to crash :/