fixed broken SQL query.
added data about order-in-sequence changes of child/sibling blocks caused by block update/deletion. updated code docs accordingly.