implemented deleteAllMappedQuery
Expression system: added syserr log if join is needed