Fix bug in nfo query.