I almost thought this `if` was outside the previous one. Not sure if it's badly indented or it's the Github UI ;)