Don't put empty strings into the history