Remove double spaces in a keyword on submit.