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