Clarified comment.
Added filtering of duplicate key releases.