This is no bug. When you pick science, bodies stay there and you get an xp reward. When you pick guard, the bodies get burned and you get access to the key.