[DF-1390] Removed unnessesary if()