Fixing beans exclusions after serialization/deserialization merge