Loophole to be closed allowing people on criminal watchlists to work at airports