I read the USCIS website and it says the restriction does not apply to workers who wish to change from one work-authorized visa to H1B.