Better handling of insertions in the vicinity of mappings.
svn path=/branches/KDE/4.5/kdepimlibs/; revision=1143638