[Fix] Changed MetadataSearchImpl.consume to fix #19

Fixed issue #19