Should be using a ">=" instead of ">".
Typo and not used variable.