Cleaning up multi-spaces in parsing logic.