Fix a minor bug to allow project index to work again