Clarity on whether I can use the Qualified Business Deduction

I worked as an accountant for a company for several years that had a subsidiary.  In 2017, they sold that subsidiary.  I quit working for the company in April.  The company who bought the subsidiary called me to do some accounting work for them for a short amount of time.  I was given a 1099 for my work there.  I think this is clearly within the rules of using the deduction, but just want to make sure.