Incorrect return value if no history duplicate found. Fixes #242.
Make 'history_ignore_space' condition binary.