remove duplicate condition in "if" statement
Merge pull request #376 from dbmalkovsky/ACT-2102

ACT-2102: remove duplicate condition in "if" statement