DATAGRAPH-466 - Derived finders issue. Following feedback from @jexp. Changed TreeSet to LinkedHashSet to maintain query insertion order instead of how I'd originally implemented it where the order would be the same, irrespective of insertion order.