Prevent zero only lines from being emptied