This is working as expected. The function returns the last identity value used, even if it's been deleted. Here's an excerpt from Microsoft's documentation:
IDENT_CURRENT returns the last identity value generated for a specific table in any session and any scope.