Fix to explore method

Collections were not created correctly. Fix solves this problem - collection should be always a flat array.