Fix rule to avoid false negatives with chained method calls