Deleting of connections implemented

Unfortunately I found a bug in the database. The connection is
bidirected, but when the connection is deleted, it is deleted only in
one direction. I need to fix that.