Swap checks to not delete newlines