#1866: Fixed bug where initial frequencies of grammar symbols were not taken into account by the tree creators.