Improve the check for arguments to use XOR.
Fix for training whitespace.