Fixed a critical bug in how the homepage works