In procedure was a bug regarding the test of the position of the founded key/value pair. Because of this bug, a segmentation fault happened when deallocationg the key/value pair. This is fixed now by checking both neighbor entries for null