Calling GetItemNumber on DataStore with no rows

GetItemNumber throws a RuntimeError instead of a DWRuntimeError when called on a DataStore with no rows. [CR 452682]