Fixes issue #90 (Clear profiles)