This probably wasn't causing a bug since the opposite values were being returned, it was wrong and made the code confusing though.
This probably wasn't causing a bug since the opposite values were being returned, it was wrong and made the code confusing though.