Update the version numbers of everything
Some fixes to queries