Tiny bug fix: set Xi and Xj fields to 1 on cell changing