Always clear query input on attribute change unless initialization