Fix preview rake task.