Improvements to parse_interface filter based on Wladimir's feedback.