Fixed stats (changes from erizo_tree branch)