PLANNER-172 Filtered selection FROM_ENTITY with JIT selection can result in an endless loop.