def process(self, stack, stream):
        index = 7
        stream = list(stream)
        stream.reverse()

        # Run over all tokens in the stream from the end
        for token_type, value in stream:
            index -= 1

#            if index and token_type in Keyword:
            if index and token_type in Keyword and value == 'LIMIT':
                return stream[index - 4][1]

        return -1
dataset/ETHPy150Open andialbrecht/sqlparse/sqlparse/filters.py/Limit.process/swapped operands of `-`