Prevent access violation when an empty helper vector is passed.
Prevent an access violation when an empty date vector is passed.