Make sure a bonus does not currently exist before adding.
Fix a compiler warning.