Test case included. Fails with
org.drools.RuntimeDroolsException: java.lang.ClassCastException: org.drools.reteoo.InitialFactImpl cannot be cast to org.drools.test.DroolsTest$Person
Changing the "or" on line 24 to "and" doesn't trigger the bug.
(Had a look at JBRULES-3482 which seems very similar, but apparently it's different enough not to be fixed in 5.4.0.Final or 5.5.0-SNAPSHOT.)