Autofill not retrieving the last data after the clear button is used