Minor bug fix: Local query inline count calculation.