Fix bug in clean

Another bug a compiler would have caught
Version 3.3.1