Fix forward chaining.