Fixed bug in interface selection.