DELETE on SBModelQuery uses sub-select instead of INNER JOIN

it didn't work with INNER JOIN ANYWAY

fixes #13