Added assert for IsTank method.