Fixing check in FileExistsCondition