Fix plan comparison