Fixed up whitespace removal detection.