ENG-6534: remove redundant check.