added support for pattern match key expiration - delete_matched was never being called