Fixed view deletion when still syncing
Improved warning when unref can not complete bause of still dangling references for DBs, LinkBs and AttachmentDBs