Fix removing dive from local DB.

Signed-off-by: Andrey Zhdanov <andrjufka@gmail.com>