Fix crash in #178

- Ensure that we are using proper fields from target slection

- Removed redundant chunk of port-processing code.
Merge pull request #179 from justfalter/ec_sniff_fix

Fix crash in #178