Updated the if statement

Closes #3513763

Merge request reports

Loading