It appears the US president has learned lessons from a previous effort to ban entry from several nations.