Replace Vrf query (which could fail) with pk
Improve exceptions; skip invalid dynamic interfaces