Bug 1013006 - Ignore actionCount on text leaves when checking if the subtree is flat. r=yzen