improve check to determine if lease expiration can be fired immediately
Merge pull request #349 from Incubaid/improve-immediate-lease-expiration-check

improve check to determine if lease expiration can be fired immediately