Fixed a Bug in which the table wasnt cleared on new queries