Fixed bug in projects.php project switching