Divergence query implemented and returns the correct data.