Fix query duration not being displayed