Update query-interface.js

looks like a mistake, when inserting it is a new record and var need to be true