`dataset-name` in search causes 500 internal error

When selecting the field dataset-name in a search, pressing the apply button will cause a 500 internal error.