Fix issue when assigning lattice objects of different but compatible types
Oops