Edge case sort fixes

Fixing edge case of resultset chained sort functions where no filters
have been applied