Fix GSD returning "undefined" if requesting log shorter than requested amount