Ranieri felt he could turn Leicester's season around