Bug #482 Fix: Interfaces stacked in template edit

Signed-off-by: Yu Xin Huo <huoyuxin@linux.vnet.ibm.com>