database_queue_add_id doesn't check ids
When adding karas by id with database_queue_add_id, invalid ids will still be inserted into the queue, and so the total amount of karas in the queue will also be incremented. Some checks of ids should be added