Flask runs correct index.