Resource control hide empty does not work as expected

When we click hide empty on resource control it does not show selected resource for the respected task.
see your documentation example here.
https://docs.dhtmlx.com/gantt/samples/11_resources/12_work_and_material_resources.html

Hello Suba,
Unfortunately, I couldn’t reproduce it:
https://files.dhtmlx.com/30d/3f28a3e2a1774ad1f96e655b2c2270c3/vokoscreen-2020-02-25_11-44-23.avi
Please send me a video or give me the steps to reproduce the issue.

Hi Ramil,

Thanks for your reply. I am unable to play your video. I use mac.
Please see my recording.

https://drive.google.com/open?id=1ykNy2jLwHI3LCrsZ4Q1IRBUCCrfS-VX6

Hello Suba,
Thank you for sending the video.
I was able to reproduce the issue. Looks like that resource filter caches the previous values and uses them. I added it as a bug in our internal tracker, and the dev team will fix it in the future.
Now, as a workaround, you can reset the lightbox before opening it:

gantt.attachEvent("onBeforeLightbox", function(task_id) {
    gantt.resetLightbox();  
    return true;
});

Here is the snippet:
http://snippet.dhtmlx.com/5/35452fb19

FYI, we’ve just released a bugfix update v7.0.7, the bug with removing cached entries in the “hide empty” list should be fixed now.