Compiler:
- Don't allow non-optional recursive bag elements

Change-Id: Ic200ee0d8fa86435763bad4aea16d5782d485f9e