Don't do the same check twice. Thanks to fml on IRC for noting.