Fix a small issue when calculating richness from data frames.