use correct constants in post type and tax ancestry_check functions
introduce condition group negation. made group status more simple. handle sync of trash/untrash properly