PI scanner not updating alert time even after condition is satisfied. Screenshot is attached

Code is to generate an alert whenever RSI crosses 50.

RSI(CLOSE, 14) > 50 AND REF(RSI(CLOSE, 14), 1) < 50

Alerts will be plotted with buy and sell where as in scanner we give only one buy or sell, results may differ