fix ZSS-581 , dependency table should check precedent if it is BOOK or SHEET scope