Fixed all issues with ensemble output directed

Fixed problems in ensemble results for directed in values output