Fix Db query syntax. Add/Remove of dealers, products done.