Update src/del.js

fixed bug in queryvalidation