Correct use of the ring
Merge pull request #420 from sabof/helm-comint-input-ring-fix

Prevent nils in the helm-comint-input-ring, and present in the correct order