Revert "fix: fix DEPRECATION WARNING for activerelation includes with condition without references"

This reverts commit 40dfbbdacb8dbcbce3202e3be3a359a4bc1d61ca.