Fixed history query for model subclasses