Properly store the resulting flags when we're in UID mode. We previously were storing using the sequence number and didn't check if the payload had the UID information. We now take care of it.
Thanks to Tom Albers for spotting the problem.
svn path=/trunk/KDE/kdepimlibs/; revision=993288