MY_Tree_Model: Fixing a statement that caused MySQL syntax error.