Avogadro version:
- Avogadrolibs: 1.103.0
- Qt: 6.8.3
Desktop version: (please complete the following information):
- OS: Fedora Linux
- Version: 43
Describe the bug
Reducing a unit cell to its primitive form should remove any atoms that are not either inside of or the boundary of the new primitive cell, however currently atoms are wrapped into the primitive cell.

To Reproduce
Steps to reproduce the behavior:
- Import any crystal or CIF file, I recommend halite.
- Select
Reduce to Primitive in the "Crystal>Space Group" menu
- Use default tolerance
- See error
Expected behavior
I expect the unit cell to go from this:

to this:
