Fix negative nEmpty counts.