Fixed handling of case where the only column in a sequence is deleted
(unlikely to arise in a real example of reasonable length, but in small
test cases it can occur).