Just to clarify Pax's comment on the non-vested terms: most documents put the "deemed payout" language in place (we use Corbel/Relius which has had this since before TRA '86) so that you are safe in ignoring any participant who terminated with no vesting rights in the last 5 years preceding the year of termination. As far as the partially vested terminations in that time, if they were paid out their lump sum, then again you should be safe. However, you may be challenged in the course of the IRS's DL review if you cashed all of these folks out in the year of plan termination.

You really only need to focus on partially vested terminations in that time period (and remember you need to provide an attachment to Item 15 of Form 5310 listing all partial and non-vested terms anyway so the IRS will be reviewing your decision).
As an aside, Pax is correct about the 1984 GCM that started this whole thing (in fact, it arose from REA's extension of the 5 1-Year Breaks in Service before you could drop service; during the mid-80s you focused on whether a participant's termination occurred pre or post 8/23/84 to see if full vesting was required). However, the 5 year rule only applies to DC plans; actually for DB plans there is no corresponding provision "forfeiting" the non-vested portion of the accrued benefit if someone terminated with non-zero vesting. By the logic of the GCM, you really should have to fully vest ANY partially vested terminated participant from day one of the Plan. Fortunately, the IRS never actually crawled out to the end of this branch of thought for this result!