Fix a db lookup regression (PleasingFungus)