handling invalid passenger counts.