Fixes a bug when homepage displayed draft projects