Fixes a bug that would crash the server.

I am ashamed that this ever went into production.