Make matchesFull use matchAsPrefix