I hope im reading the problem right, if I am all you do is select the ik and hit T then u will see a manipulator on the top of the ik show up and u can rotate the white arrow so it is pointing forward so the knee will bend correctly.