CompoundsPredicate evaluates compound IDs for filtering instead of
names, which fixes a problem with spring and parameter handling.