Better handling of bugs with multiple blocked

Place the bug added to buglist under the first bug on the list that it
blocks.