Fixed a lot of bugs.
Range updates in tags still not working.
Finished a clustered query prototype: need to test.