Changed :is_parent? to check by equal? instead of include? which uses == and therefore loads parent state.