Adjusting delete query and adding test case.
Updating submodule.