Fixed bug where projects page crashes when a user without any projects is logged in