Fixed a bug: Negates regular expressions now work correctly also in case of check_keys_late.