META-306: Call getPriorityDependencies when determining related items