Investors & landlords

Yes.  Although in the past I had thought it would not qualify, after re-reading the Regulations, it seems like the "Safe Harbor" of a change of employment overrides the other rules, so it still qualifies for the exclusion (with a prorated Maximum amount).