Fixing project index template bugs.