As long as they come back to US before the AP expires, it will be OK even if they green card is approved during the travel.