Fix wrong deletion of mapping

Signed-off-by: Jan Losinski <losinski@wh2.tu-dresden.de>