Mathematically, -90 degrees is the same as 270 degrees. So it is correct either way.
People regularly make the mistake of trying to make linear comparisons on angles. This is incorrect because angles are cyclical. For example if you try to test if an angle is within 10 degrees of another angle, then abs(angle1 - angle2) < 10 is the wrong formula, because it doesn't take in to account the fact angles cycle around from 360 to 0. For example with that formula comparing 359 degrees to 1 degree will incorrectly count it as being 358 degrees apart rather than 2 degrees apart. This is why there are system expressions for comparing angles, like "is within angle", which internally do the correct math to take in to account the cyclical nature of angles.
So in short if you use the right angle conditions, expressions and calculations, it doesn't matter: -90 will be treated as identical to 270. If you make linear comparisons then your calculations are incorrect to begin with and will have other problems like not handling the 360-0 wraparound correctly, as well as other problems like incorrectly treating -90 as a different angle to 270.