Configurable product filter not working properly

Hello sir,
I also using algolia filter in my magento store. I have a problem with configurable product like as discussed above.
Suppose I have a configurable product “Master” that has 3 child products, 2 sizes (small, big) times two colors (white, black). This give small-white, small-black, big-white. The configurable itself has neitehr color nor size.
But when I select big in size and black in color then also showing “Master” product in filter result. Which is not expected. Expected result is “master” product should not be shown.
So please can you help me how can I configure for correct result.