Bugfix on run_callbacks if no callbacks are registered.