Better handling of re-using previous user input to maintain the thread of the conversation