Sorting with @cascade returns empty results

I should also note that we do have empty strings in hasStudyName, which may affect this.

For clarity, the empty strings are “” and not null