wfs2 + resultType=hits + maxFeatures returns bad numberMatched

Failing test cases for interactions between WFS2.0 GetFeature resultType=hits quests and wfs.maxFeatures/wfs.hitsIgnoreMaxFeatures settings