Fixed pawn promotion typeerror on second promotion