Added diff to version history queries