797485 fixed incorrect behavior

Authored and Committed by az 6 years ago
    fixed incorrect behavior