Possible Duplicate:
Resetting theorem counters: \sections and (missing) \subsections
I have the following in the preamble:
\documentclass{article}
\usepackage[T1]{fontenc}
\usepackage[latin2]{inputenc}
\usepackage[magyar]{babel}
\usepackage{lmodern}
\usepackage{citesort}
\usepackage{enumerate}
\usepackage{amssymb}
\usepackage{amsmath}
\usepackage{indentfirst}
\textheight=22.5truecm
\textwidth=15.5truecm
\parindent=12pt \parskip=7pt
\hoffset -2cm
\voffset -1cm
\pretolerance=1000
\newtheorem{tetel}{Tétel}[subsection]
However the theorems in section 3 before the first subsection are numbered starting from 4 as the screenshot shows:

Never before have I seen this problem. The numbering worked perfectly in every section in every document so far. What could cause this behavior?
\subsectioncommand. It's this command that resets to zero thetetecounter. How should that theorem be numbered? – egreg Sep 12 '12 at 10:41