make MATCHES() AQL function variadic