It appears that Epic to be counted as taking par in week has to start before actual week starts. For example in this case it seems that weeks start from Sunday and if I have epic starting on Monday it will not count as part of calculated week. Sunday will not be good either it has to start on Saturday.
It looks like a bug for me, but maybe it can be reconfigured somewhere. I'm attaching video as an example: