important bugfix in policies failing in a corner case, test added
version 1.3