Section 245(K) will cover for any unauthorized employment since last admission for 180 days in aggrerate.
There was much debate about this in the past, but I think the general conclusion was that the "last admission" is the last admission prior to filing for AOS. The exact wording of INA section 245(k) is:
(k) 7/ An alien who is eligible to receive an immigrant visa under paragraph (1), (2), or (3) of section 203(b) (or, in the case of an alien who is an immigrant described in section 101(a)(27)(C), under section 203(b)(4)) may adjust status pursuant to subsection (a) and notwithstanding subsection (c)(2), (c)(7), and (c)(8), if--
(1) the alien, on the date of filing an application for adjustment of status, is present in the United States pursuant to a lawful admission;
(2) the alien, subsequent to such lawful admission has not, for an aggregate period exceeding 180 days--
(A) failed to maintain, continuously, a lawful status;
(B) engaged in unauthorized employment; or
(C) otherwise violated the terms and conditions of the alien's admission
It is the word "such" in section (2) that implies that the lawful admission being referred to is that mentioned in section (1), rather than any subsequent ones. The result is that you cannot reset the 180 day clock by leaving the country (which is common sense really).