added a guard against case when noSplitkeys were returned for a non-empty database