[12651] Remove unnecessary check added in 12646