XNAT-2629, XNAT-2630: Added handling for empty filters and series description, added scan # and sorting.