If we fail to create the statistics cursor, we may still have allocated
a statistics structure for it.