Fixed wrongly fetching the heading row