Fix bug with abstract toggling.