The Darker Side of Refactoring