Unable to view elements of header views of tableView with multiple sections and reusableTableHeaderFooterView is used

Description for issue -

The scenario is that we have tableView with multiple sections, and using reusableTableHeaderFooterView. The reusable view has multiple elements inside it. ie. Label, Button etc.
I am not able to access elements of some of the header views which are displayed on screen when we scroll the screen. It works fine with header views which are already displayed on the screen when screen loads, but not for the sections which display after scrolling. Below is the image of clubbed hierarchy of appium inspector.
11 PM

Appium server version - 1.7.3
iOS version - 11.0