Tu fai un confronto esatto == mentre Xinod (correttamente) t'ha proposto superiore/uguale >= non è che il problema sta li?