Removing improperly sequenced Keys