Fixed query result add bug
Merge branch 'rewrite' of https://github.com/josephg/ShareJS into rewrite