The code generator now handles okay the flags using True type Also, double checking for the flag is now avoided in cases where the flag was a Vector type