This method is only needed in CheckSQL when the target is nil. If the target is nil, you don't need the chain checking, reducing this to method to one line unless it's used somewhere else.