fixed reset() method in update and delete query builders, defined $_last_join field in the first one

Signed-off-by: Sergey Calugher <SlKelevro@gmail.com>