replace PN_SIZE -1 by PN_NONE (i.e. index not found)