BUG-576: fixed grammar to handle union type with only one type definition.

Change-Id: I5a26c7a0e15de5333fa8ce3d7a17e0fb3aa8ca50
Signed-off-by: Martin Vitez <mvitez@cisco.com>
Merge "BUG-576: fixed grammar to handle union type with only one type definition."