Do not call getIndentLevel if it will violate contract