As we talked about in the Jira, this is not legal.  I fixed it up locally which allowed me to reproduce the reported issue.