Bug fix for initializeEntriesVec()