OK, this is not logic at all.

Please post all the test code that you used to light the two led's.

There is something that we are missing here.

Ioannis