Fixed autogeneration of bug ids.