This is why I wanted to sleep on the code I wrote while falling asleep rather than immediately submitting a pull request.