more thorough check for whether an ast node starts a new label; closes #121