Fix overly greedy project api matching