Fix Bug 24: Performance: NULL cache not cleared if there are no nulls