HHH-8761: Casting array from serviceTracker.getServices properly.