[BUG #7322] Fixed condition