Fix: SQL error when adding killboard owners in some environments

Fixed a bug that caused an SQL error when trying to add new killboard
owners in the admin section. This only happens in environments where the
SQL server throws a specific warning as error.
Fixed the code that caused the warning/error in the first place.