Help with Condition

I have a screener to find breakout stocks

15 Minutes Close(0) higher than Period max(20, 15 Minutes Close(-1) )

and some 3-4 other conditions (volume, stock price etc)

Now this gives me stocks after they breakout of their previous 20 candles high. I want to figure them out before they actually breakout, so I edited my condition so that

15 Minutes Close(0) higher than Period max(20, 15 Minutes Close(-1) ) * Number 0.99

to check if they are within 1% of breakout price.
Once I do this, the scanner gives me inaccurate results. What is wrong with this?

I also tried enclosing everything after “higher than” in brackets. Still doesn’t help
15 Minutes Close(0) higher than (Period max(20, 15 Minutes Close(-1) ) * Number 0.99)

@Streak Can you.

I just changed it to

(15 Minutes Close(0) * Number 1.01) higher than Period max(20, 15 Minutes Close(-1) )

and it looks like it is working fine. A bit weird, but please check what was the issue when you give it the other way
@Streak