Fix a bug with text not associated with any cell