I did the else condition as you said, and thought that might be where my problem lies... But silly me just discovered that I exchanged my angles with my grid index so it was like trying to look at grid index 180 etc...
It's fixed now, but thanks anyways :D