Fixed bug in the double bond finding. Was doing the opposite...