LPS-22792 Fixed wrong condition
LPS-22792 SF