Prevent recording last history on first prompt