MDL-50790 inbound: Stop incorrect amount of lines getting removed.