Many users forget that computer precision is not always what they expect. So for instance, if you are checking for a value to exactly equal another, due to computer float rounding errors, this may never occur.
Without seeing the events it's impossible to say, but ensure that you have taken account of the precision errors that may occur - i.e. don't check for an exact value if possible.