[Fix] listing objects now works for specific directory (prefix).

Fixes the bug reported in issue #1