Fix so preview refreshes when there are different results