REST api is creating more than one bitstream policy in bundle. For example: I have created bitstream in bundle. I have one policy in bundle. Than i add new policy o bitstream and it has now three policies.
This bug is created by method bundle.replaceAllBitstreamPolicies, which remove all policies from bundle and than create all policies from list to all bitstream.