Fixed a bug with the Home view