No longer errors if there are fewer items in db than required.