Fix grid column deletion function