[BUGFIX] Fix early return in addUnionStatement method