Fix Moodle 2.4 compatibility - tabtree object