Invert Boolean Refactoring #874