Make sure mongo lookups work correctly