Allow shorter paths in amd filter.