Bugfix in performance tests