Fix the way updates to the QN_NID index is calculated when deleting nodes.
Fix the way updates to the QN_NID index is calculated when deleting nodes.

zyzyis/monetdb,zyzyis/monetdb,zyzyis/monetdb,zyzyis/monetdb,zyzyis/monetdb,zyzyis/monetdb,zyzyis/monetdb,zyzyis/monetdb,zyzyis/monetdb,zyzyis/monetdb