Revert "Unnecessary condition"

This reverts commit d38d3bac6cad00a6eb424fd164a0e282778c35c5.