Removing useless check

Thanks to Martin Maurer for this