Bugfix: reset fermion phases in the clear() function