Remarks on the validity of the theorem of minimum entropy production