small fix for getItem on mongodb_impl