def filtered_scope
    return @filtered_scope if defined?(@filtered_scope)

    scope = transactions_scope