Warning delete command bug fix, fixing table setup query syntax