Fix issue with sorting issues by labels