Fixes nil value bug that I just found after deployment. Yay.