Query on demac_multilocationinventory_stock was missing and custom location tab was empty (refs #1)