Fixed the seat assignment issue