Fix bug-id parsing.