Fix scenario with number unique constraint