force a cast to bool for the ami type flags, were not being respected when passed as extra_vars