Remove unnecessary guard

Spotted by @gergely-ujvari