Fixed: repair bounds, holstering, admin insert

Fixed a bug with bounds using < not <= in repair comparison check that
resulted in some rare occurrences that disallowed repairing.

Fixed a bug with holstering some weapons causing deletion.

Fixed a bug with the admin insertion database statement, the two
parameters were the wrong way round.