Missing trailing slash can match folders as well