Allow selecting values with whitespace (fixes #146)