#186 - Rework how polymorphic filtering works.
Unfortunately, simply identifying the correct path is not sufficient
for Hibernate to generate well-formed queries. This commit reworks
that strategy to ensure that the proper roots and restrictions are
defined in these cases.