This bug has been copied from bug #739966 and has been proposed to be backported to 5.7 z-stream (EUS).
Performed the same unit tests as: https://bugzilla.redhat.com/show_bug.cgi?id=739966#c4 and obtained the correct/expected results.
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. http://rhn.redhat.com/errata/RHBA-2011-1337.html