Fixed self-introduced error handling bug in auto_interfaces