In the Understone Keep, on the top right side you eventually get to a locked door, well I opened the door with a key I think i pickpocketed
Spoiler:

It might be that if Ondolemar is not there, but the two Soldiers are, it is a bug that they did not get removed too.Once Thongvor Silver-Blood becomes leader of Markarth, should the Stormcloaks take control, Ondolemar will disappear from the game permanently.
