Fix for bug with inlineCount & nested order by path