back-end domain: fix warehouses lookups