fixed wrong calls of getSortedSetRevRangeByScore

otherwise requests to /notifications result in server-crash :wink: