Fix a NullPointerException in the PriorityFailover strategy