Fixed bugs in 'list exports'