Properties of INT and LONG types used in triggers' conditions might not be fired because the values specified in conditions for comparison are treated as the String type. The root cause of the issue is a missing UI functionality for defining a data type in triggers.
As an alternative, consider the following solution: