Fixed autoincrement for friends table