Fix fnOnCellUpdated undefined check