modify how opt --filter work in nxapi to be more user friendly