Fix a bug in cut by reversing the selection