Fixes RM5834: Remove allowed_pairs